<md-sidenav-container [class.myapp-dark-theme]="darkTheme">
  <md-sidenav #sidenav mode="over" align="start">
    <app-sidebar></app-sidebar>
  </md-sidenav>

  <div class="site">
    <header>
      <app-header (toggle)="sidenav.toggle()" (toggleDarkTheme)="switchTheme($event)"></app-header>
    </header>
    <main>
      <!--<button (click)="">打开侧边栏</button>-->
      <!--<router-outlet></router-outlet>-->
      <div class="animation-example" [@square]="squareState" (click)="onClick()">
      </div>
    </main>
    <footer>
      <app-footer></app-footer>
    </footer>
  </div>
</md-sidenav-container>

